package com.douglas.managesystem.common;

import java.util.Properties;

public class CustomizedPropertyConfigurer {
    private static Properties ymlProperties = new Properties();

    public CustomizedPropertyConfigurer(Properties properties) {
        ymlProperties = properties;
    }

    public static Object getContextProperty(String key) {
        return ymlProperties.getProperty(key);
    }

    public static Object setContextProperty(String key, Object value) {
        return ymlProperties.setProperty(key, value.toString());
    }

}
